<template>
	<!-- #ifdef APP-PLUS || H5 -->
	<find ref="finds" v-if="type == 2"></find>
	<player-index ref="player" v-else></player-index>
	<!-- #endif -->
	<!-- #ifdef MP-WEIXIN -->
	<find ref="finds"></find>
	<!-- #endif -->
</template>

<script setup>
import { ref } from 'vue';
import { onShow } from '@dcloudio/uni-app';
// #ifdef APP-PLUS || H5
import PlayerIndex from './coach/player/index';
// #endif
import Find from './student/find/find';
const type = uni.getStorageSync('start-state');

const finds = ref(''), player = ref('')
onShow(() => {
	setTimeout(() => {
		if (type == 2) finds.value.showFun();
	});
});
</script>

<style></style>